package cn.iocoder.yudao.module.famous.doctor.controller.admin.forum.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 论坛表分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FamForumPageReqVO extends PageParam {

    @Schema(description = "论坛类型 1杏园谈论 2学术讨论 3家园内容", example = "2")
    private Long speakType;

    @Schema(description = "论坛标题")
    private String title;

    @Schema(description = "热点话题标识")
    private String topicIds;

    @Schema(description = "论坛内容")
    private String content;

    @Schema(description = "图片路径", example = "https://www.xxx.cn")
    private String imageUrl;

    @Schema(description = "访问量", example = "14816")
    private Long visitCount;

    @Schema(description = "收藏数量/点赞量", example = "15255")
    private Long collectCount;

    @Schema(description = "是否置顶 1是 2否")
    private Long isTop;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "回复量", example = "27072")
    private Long replyCount;


    @Schema(description = "病情筛选")
    private String illnessIds;

    @Schema(description = "审核状态 ")
    private Byte audit;

}
